#-------------------------------------------------
#
# Project created by QtCreator 2017-07-18T16:54:02
#
#-------------------------------------------------

QT       += core gui serialport

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = ModBusTest
TEMPLATE = lib

DEFINES += MODBUSTEST_LIBRARY
CONFIG += staticlib
DESTDIR =../../lib


SOURCES +=commrobotiq.cpp


HEADERS  +=commrobotiq.h



#INCLUDEPATH += $$PWD/myModbus/
#DEPENDPATH += $$PWD/myModbus/

#SOURCES +=    myModbus/modbus.c \
#    myModbus/modbus-data.c \
#    myModbus/modbus-rtu.c \
#    myModbus/modbus-tcp.c

#HEADERS  +=     myModbus/config.h \
#    myModbus/modbus.h \
#    myModbus/modbus-private.h \
#    myModbus/modbus-rtu.h \
#    myModbus/modbus-rtu-private.h \
#    myModbus/modbus-tcp.h \
#    myModbus/modbus-tcp-private.h \
#    myModbus/modbus-version.h \
#    myModbus/unit-test.h

INCLUDEPATH += ../../include/modbus/
DEPENDPATH += ../../include/modbus/
LIBS += ../../lib/modbus/libmodbus.so
#LIBS +=  -lmodbus

INCLUDEPATH += ../HmiGsoapQt
